package com.gk.study.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("b_thing_like")
public class ThingLike implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    public Long id;
    
    @TableField
    public Long thingId; // 新闻ID
    
    @TableField
    public Long userId; // 用户ID
    
    @TableField
    public LocalDateTime createTime; // 创建时间
} 